import { Form, Input, Select } from 'antd'

const BaseFormItems = () => {
  return (
    <>
      <Form.Item
        label="标识"
        name="name"
        rules={[{ required: true, message: '请输入节点标识' }]}
      >
        <Input placeholder="请输入节点标识" />
      </Form.Item>
      <Form.Item
        label="描述"
        name="description"
        // rules={[{ required: true, message: '请输入节点描述' }]}
      >
        <Input.TextArea placeholder="请输入节点描述" />
      </Form.Item>
      {/* <Form.Item
        label="类别"
        name="category"
        rules={[{ required: true, message: '请选择节点类别' }]}
      >
        <Select placeholder="请选择节点类别" />
      </Form.Item> */}
      <Form.Item
        label="标签"
        name="tags"
        // rules={[{ required: true, message: '请选择节点标签' }]}
      >
        <Select mode="tags" maxTagCount={5} placeholder="请选择节点标签" />
      </Form.Item>
    </>
  )
}

export default BaseFormItems
